<!DOCTYPE html>


<html xmlns:layout="http://www.w3.org/1999/xhtml" xmlns:th="http://www.w3.org/1999/xhtml" layout:decorator="themes/default/partial/base">




    <div layout:fragment="content" class="main-content index-page clearfix">
        <article class="main-content page-page">
            <div class="post-header">
                <h1 class="post-title" itemprop="name headline" th:text="${article.title}">${title()}</h1>
                <div class="post-data">
                    <time datetime="${created('yyyy-MM-dd')}" itemprop="datePublished" th:text="'发布于'+${article.crtTime}">发布于 ${created('yyyy-MM-dd')}</time>
                </div>
            </div>
            <div id="post-content" class="post-content" th:utext="${article.content}">${show_content()}</div>
        </article>
        <script  type="text/javascript"  th:inline="javascript">
        /*<![CDATA[*/
            layui.use('code', function(){ //加载code模块

             layui.code({
              elem: 'pre', //默认值为.layui-code
              about:false
            });
            });
        /*]]>*/

        </script>
    </div>


</html>